<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="generator" content="smart-doc">
    <title>jt-media-server</title>
    <link rel="stylesheet" href="font.css">
    <link rel="stylesheet" href="AllInOne.css?v=1757665968787"/>
    
    <style>.literalblock pre, .listingblock pre:not(.highlight), .listingblock pre[class="highlight"], .listingblock pre[class^="highlight "], .listingblock pre.CodeRay, .listingblock pre.prettyprint {
        background: #f7f7f8;
    }

    .hljs {
        padding: 0em;
    }</style>
    <script src="highlight.min.js"></script>
    <script src="jquery.min.js"></script>
</head>
<body class="book toc2 toc-left">
<div id="header"><h1>jt-media-server</h1>
    <div id="toc" class="toc2">
        <div id="book-search-input"><input id="search" type="text" placeholder="Type to search"></div>
        <div id="toctitle"><span>API Reference</span></div>
        <ul id="accordion" class="sectlevel1">
            <li class=""><a class="dd" href="api.html#header">1.&nbsp;WebRtc信令模块</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="api.html#a775aaf35a3397b509daadd99e9100af">1.1.&nbsp;webrtc sdp协议交互</a>
                    </li>

                    <li><a
                            href="api.html#0d64ed9f4e96c5c983a435ed7c4cb517">1.2.&nbsp;推流sdp交互</a>
                    </li>

                    <li><a
                            href="api.html#edba23cc17085d17f435cee8d6ffca12">1.3.&nbsp;拉流sdp交互</a>
                    </li>

                    <li><a
                            href="api.html#98dd330e53007f8954cfadc766c7bab3">1.4.&nbsp;删除webrtc<br>要显式终止会话，WHEP 播放器必须对初始HTTP POST的Location头字段中返回的资源URL执行HTTP DELETE请求。收到HTTP DELETE请求后，WHEP资源将被删除，并在媒体服务器上释放资源</a>
                    </li>
                </ul>
            </li>
            <li class=""><a class="dd" href="TranscodeController.html#header">2.&nbsp;转码</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="TranscodeController.html#683e18d986bcef7a62493aa460a2fa6a">2.1.&nbsp;转码 默认H265转H264 支持分辨率调整 暂时只支持视频转码，音频因为各种封装格式对编码格式、音频参数等转换规则复杂暂时不支持</a>
                    </li>
                </ul>
            </li>
            <li class=""><a class="dd" href="SnapController.html#header">3.&nbsp;截图接口</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="SnapController.html#7c95fa3a429d7ff145fa430df9d0f8e5">3.1.&nbsp;获取截图</a>
                    </li>
                </ul>
            </li>
            <li class=""><a class="dd" href="ApiController.html#header">4.&nbsp;流媒体Api</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="ApiController.html#d9eacd8e14748a6129849b54b0b1b142">4.1.&nbsp;添加rtmp/rtsp拉流代理</a>
                    </li>

                    <li><a
                            href="ApiController.html#8ad7d6a9368deec6cfd0426d333f4c8d">4.2.&nbsp;关闭拉流代理</a>
                    </li>

                    <li><a
                            href="ApiController.html#060e5726e17ca50a218ee079a5623216">4.3.&nbsp;添加rtmp/rtsp推流代理</a>
                    </li>

                    <li><a
                            href="ApiController.html#7c771174adf9fb3901680d3086ef4f29">4.4.&nbsp;删除rtmp/rtsp推流代理</a>
                    </li>

                    <li><a
                            href="ApiController.html#bb8cd6f820877b86a4aa2783b154d97c">4.5.&nbsp;关闭流</a>
                    </li>

                    <li><a
                            href="ApiController.html#a8e6807cfbf1e362884ccee32e31d47e">4.6.&nbsp;关闭流(批量关)</a>
                    </li>

                    <li><a
                            href="ApiController.html#cb490cd9458f63eb655f8823b7781aa6">4.7.&nbsp;获取流列表</a>
                    </li>

                    <li><a
                            href="ApiController.html#30e999ede44f252bc8a4934c712c9d5c">4.8.&nbsp;获取流信息</a>
                    </li>

                    <li><a
                            href="ApiController.html#2fe94fdb67f7f5e2a30ab1bc9eea5871">4.9.&nbsp;流是否在线</a>
                    </li>

                    <li><a
                            href="ApiController.html#902c61be35be8f9b57a7505900947ac7">4.10.&nbsp;开始录像</a>
                    </li>

                    <li><a
                            href="ApiController.html#576abb5edb7c4dde0dd0278c384c492b">4.11.&nbsp;停止录像</a>
                    </li>

                    <li><a
                            href="ApiController.html#a12e257c35736da5153e5db5d5323f6d">4.12.&nbsp;是否录像</a>
                    </li>

                    <li><a
                            href="ApiController.html#a0484e224f8e38ff7bd252cf03877ecb">4.13.&nbsp;获取内存资源信息</a>
                    </li>

                    <li><a
                            href="ApiController.html#3f37be3a2f369575e0d0ab67770aec98">4.14.&nbsp;获取服务器配置</a>
                    </li>

                    <li><a
                            href="ApiController.html#310e54f4d4c17edb539c007b1314677e">4.15.&nbsp;重启流媒体服务</a>
                    </li>

                    <li><a
                            href="ApiController.html#615ed40028c34a806f45a7072ea2e30c">4.16.&nbsp;设置服务器配置</a>
                    </li>

                    <li><a
                            href="ApiController.html#db3f953c5d773b922a5492e4fe6de9be">4.17.&nbsp;开启rtp服务</a>
                    </li>

                    <li><a
                            href="ApiController.html#58909213ed8a824f1e07380a8163ce38">4.18.&nbsp;关闭rtp服务</a>
                    </li>

                    <li><a
                            href="ApiController.html#8bea9df3e3e43e4b78fc770481c033fa">4.19.&nbsp;获取所有RTP服务器</a>
                    </li>
                </ul>
            </li>
            <li class="open"><a class="dd" href="StackController.html#header">5.&nbsp;拼接屏控制类</a>
                <ul class="sectlevel2" style="display: block">
                    <li><a
                            href="StackController.html#0dc8cbfe38639e2189d0e886fbd27dba">5.1.&nbsp;开启拼接屏</a>
                    </li>

                    <li><a
                            href="StackController.html#9d667b042adc3e33bef86ee899d00550">5.2.&nbsp;重新设置拼接屏</a>
                    </li>

                    <li><a
                            href="StackController.html#34018296fa44c3c3fd651a1494967b3b">5.3.&nbsp;关闭拼接屏</a>
                    </li>
                </ul>
            </li>
            <li class=""><a class="dd" href="TestController.html#header">6.&nbsp;测试接口</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="TestController.html#17ef9c0b00ea7c6b87e0b8ebeed12a23">6.1.&nbsp;生成一路测试视频流</a>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
</div>
<div id="content">
    <div class="sect1"><h2 id="_拼接屏控制类"><a class="anchor" href="#_拼接屏控制类"></a><a class="link" href="#_拼接屏控制类">5.&nbsp;拼接屏控制类</a>
    </h2>
        <div class="sectionbody">
            <div class="sect2"><h3 id="0dc8cbfe38639e2189d0e886fbd27dba">
                <a class="anchor" href="#0dc8cbfe38639e2189d0e886fbd27dba"></a>
                <a class="link" href="#0dc8cbfe38639e2189d0e886fbd27dba">5.1.&nbsp;开启拼接屏</a>
            </h3>
                <div class="paragraph"><p><strong>URL:</strong><a href="/stack/start" class="bare">&nbsp;/stack/start</a>
                </p></div>
                <div class="paragraph"><p><strong>Type:</strong>&nbsp;POST</p></div>
                <div class="paragraph"><p><strong>Author:</strong>&nbsp;by HaiTao.Wang on 2025/9/12.</p></div>
                <div class="paragraph"><p><strong>Content-Type:</strong>&nbsp;application/json</p></div>
                <div class="paragraph"><p><strong>Description:</strong>&nbsp;开启拼接屏</p></div>
                <div class="paragraph"><p><strong>Body-parameters:</strong></p></div>
                <table class="tableblock frame-all grid-all spread">
                    <colgroup>
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                    </colgroup>
                    <thead>
                    <tr>
                        <th class="tableblock halign-left valign-top">Parameter</th>
                        <th class="tableblock halign-left valign-top">Type</th>
                        <th class="tableblock halign-left valign-top">Description</th>
                        <th class="tableblock halign-left valign-top">Required</th>
                        <th class="tableblock halign-left valign-top">Since</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">id</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接屏任务id(流id)</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">app</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接屏任务流app</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">pushUrl</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">推流地址，如果传了pushUrl将不在本地产生流</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">row</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">int32</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接屏行数</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">col</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">int32</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接屏列行数</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">width</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">int32</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接屏宽度</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">height</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">int32</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接屏高度</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">fillImgUrl</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">图片链接，为空则填灰色</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">fillColor</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">默认填充颜色</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">gridLineEnable</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">boolean</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">是否存在分割线</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">gridLineColor</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">分割线颜色</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">gridLineWidth</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">int32</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">分割线宽度</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">windowList</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">array</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接屏内容</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">└─videoUrl</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接视频地址</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">└─imgUrl</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接图片地址,和上面二选一</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">└─fillColor</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">默认填充颜色</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">└─span</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">array</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">所占的格子</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>
                    </tbody>
                </table>
                <div class="paragraph"><p><strong>Request-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="bash">curl -X POST -H "Content-Type: application/json" -i '/stack/start' --data '{
  "id": "",
  "app": "",
  "pushUrl": "",
  "row": 0,
  "col": 0,
  "width": 0,
  "height": 0,
  "fillImgUrl": "",
  "fillColor": "",
  "gridLineEnable": true,
  "gridLineColor": "",
  "gridLineWidth": 0,
  "windowList": [
    {
      "videoUrl": "",
      "imgUrl": "",
      "fillColor": "",
      "span": [
        0
      ]
    }
  ]
}'</code></pre>
                    </div>
                </div>
                <div class="paragraph"><p><strong>Response-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="json">Return void.</code></pre>
                    </div>
                </div>
            </div>

            <div class="sect2"><h3 id="9d667b042adc3e33bef86ee899d00550">
                <a class="anchor" href="#9d667b042adc3e33bef86ee899d00550"></a>
                <a class="link" href="#9d667b042adc3e33bef86ee899d00550">5.2.&nbsp;重新设置拼接屏</a>
            </h3>
                <div class="paragraph"><p><strong>URL:</strong><a href="/stack/reset" class="bare">&nbsp;/stack/reset</a>
                </p></div>
                <div class="paragraph"><p><strong>Type:</strong>&nbsp;POST</p></div>
                <div class="paragraph"><p><strong>Author:</strong>&nbsp;by HaiTao.Wang on 2025/9/12.</p></div>
                <div class="paragraph"><p><strong>Content-Type:</strong>&nbsp;application/json</p></div>
                <div class="paragraph"><p><strong>Description:</strong>&nbsp;重新设置拼接屏</p></div>
                <div class="paragraph"><p><strong>Body-parameters:</strong></p></div>
                <table class="tableblock frame-all grid-all spread">
                    <colgroup>
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                    </colgroup>
                    <thead>
                    <tr>
                        <th class="tableblock halign-left valign-top">Parameter</th>
                        <th class="tableblock halign-left valign-top">Type</th>
                        <th class="tableblock halign-left valign-top">Description</th>
                        <th class="tableblock halign-left valign-top">Required</th>
                        <th class="tableblock halign-left valign-top">Since</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">id</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接屏任务id(流id)</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">app</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接屏任务流app</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">pushUrl</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">推流地址，如果传了pushUrl将不在本地产生流</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">row</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">int32</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接屏行数</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">col</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">int32</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接屏列行数</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">width</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">int32</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接屏宽度</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">height</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">int32</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接屏高度</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">fillImgUrl</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">图片链接，为空则填灰色</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">fillColor</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">默认填充颜色</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">gridLineEnable</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">boolean</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">是否存在分割线</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">gridLineColor</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">分割线颜色</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">gridLineWidth</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">int32</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">分割线宽度</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">windowList</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">array</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接屏内容</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">└─videoUrl</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接视频地址</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">└─imgUrl</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">拼接图片地址,和上面二选一</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">└─fillColor</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">默认填充颜色</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">└─span</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">array</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">所占的格子</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>
                    </tbody>
                </table>
                <div class="paragraph"><p><strong>Request-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="bash">curl -X POST -H "Content-Type: application/json" -i '/stack/reset' --data '{
  "id": "",
  "app": "",
  "pushUrl": "",
  "row": 0,
  "col": 0,
  "width": 0,
  "height": 0,
  "fillImgUrl": "",
  "fillColor": "",
  "gridLineEnable": true,
  "gridLineColor": "",
  "gridLineWidth": 0,
  "windowList": [
    {
      "videoUrl": "",
      "imgUrl": "",
      "fillColor": "",
      "span": [
        0
      ]
    }
  ]
}'</code></pre>
                    </div>
                </div>
                <div class="paragraph"><p><strong>Response-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="json">Return void.</code></pre>
                    </div>
                </div>
            </div>

            <div class="sect2"><h3 id="34018296fa44c3c3fd651a1494967b3b">
                <a class="anchor" href="#34018296fa44c3c3fd651a1494967b3b"></a>
                <a class="link" href="#34018296fa44c3c3fd651a1494967b3b">5.3.&nbsp;关闭拼接屏</a>
            </h3>
                <div class="paragraph"><p><strong>URL:</strong><a href="/stack/stop" class="bare">&nbsp;/stack/stop</a>
                </p></div>
                <div class="paragraph"><p><strong>Type:</strong>&nbsp;POST</p></div>
                <div class="paragraph"><p><strong>Author:</strong>&nbsp;by HaiTao.Wang on 2025/9/12.</p></div>
                <div class="paragraph"><p><strong>Content-Type:</strong>&nbsp;application/x-www-form-urlencoded</p></div>
                <div class="paragraph"><p><strong>Description:</strong>&nbsp;关闭拼接屏</p></div>
                <div class="paragraph"><p><strong>Body-parameters:</strong></p></div>
                <table class="tableblock frame-all grid-all spread">
                    <colgroup>
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                    </colgroup>
                    <thead>
                    <tr>
                        <th class="tableblock halign-left valign-top">Parameter</th>
                        <th class="tableblock halign-left valign-top">Type</th>
                        <th class="tableblock halign-left valign-top">Description</th>
                        <th class="tableblock halign-left valign-top">Required</th>
                        <th class="tableblock halign-left valign-top">Since</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">id</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">No comments found.</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>
                    </tbody>
                </table>
                <div class="paragraph"><p><strong>Request-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="bash">curl -X POST -i '/stack/stop' --data 'id='</code></pre>
                    </div>
                </div>
                <div class="paragraph"><p><strong>Response-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="json">Return void.</code></pre>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <footer class="page-footer"><span class="copyright">Generated by smart-doc at 2025-09-12 16:32:48</span><span
            class="footer-modification">Suggestions,contact,support and error reporting on<a
            href="https://gitee.com/smart-doc-team/smart-doc" target="_blank">&nbsp;Gitee</a>&nbsp;or<a
            href="https://github.com/smart-doc-group/smart-doc.git" target="_blank">&nbsp;Github</a></span></footer>
</div>
<script src="search.js?v=1757665968787"></script>
<script>
    $(function () {
        const Accordion = function (el, multiple) {
            this.el = el || {};
            this.multiple = multiple || false;
            const links = this.el.find('.dd');
            links.on('click', {el: this.el, multiple: this.multiple}, this.dropdown);
        };
        Accordion.prototype.dropdown = function (e) {
            const $el = e.data.el;
            const $this = $(this), $next = $this.next();
            $next.slideToggle();
            $this.parent().toggleClass('open');
            if (!e.data.multiple) {
                $el.find('.submenu').not($next).slideUp("20").parent().removeClass('open');
            }
        };
        new Accordion($('#accordion'), false);
        hljs.highlightAll()
    });
</script>
</body>
</html>
